package com.iris.dubbo.controller;

import com.alibaba.dubbo.rpc.RpcContext;
import com.xzs.thinking.api.model.ArrayListSon;
import com.xzs.thinking.api.model.ParamBean;
import com.xzs.thinking.api.model.ReturnBean;
import com.xzs.thinking.api.service.TestApiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;

/**
 * @author : Iris.Xiao
 * @date : 2017/11/13 17:07
 * @description :
 */
@RestController
public class TestController {

    @RequestMapping(value = "/test" )
    public String test(@RequestParam String name){
        System.out.println("==========="+name);
        return "test";
    }

}
